﻿<%@ Page Title="" Language="C#" MasterPageFile="~/LivingWellClinic.Master" AutoEventWireup="true" CodeBehind="Donate.aspx.cs" Inherits="livingwellclinic.WebForm1" %>

<asp:Content ID="Content0" ContentPlaceHolderID="title" runat="server">Donate</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style15
        {
            width: 126px;
            height: 20px;
        }
        .style16
        {
            width: 47px;
            height: 20px;
        }
        .hometext
        {
            width: 249px;
            height: 12px;
        }
        .style17
        {
            height: 11px;
        }
        .style18
        {
            width: 47px;
            height: 11px;
        }
        .style20
        {
            width: 101px;
            height: 24px;
        }
        .style22
        {
            width: 101px;
        }
        </style>
        <script type="text/javascript">
            function showMonetary() {
                $('#supplies').hide();
                $('#monetary').show();
            }

            function showSupplies() {
                $('#monetary').hide();
                $('#supplies').show();
            }
        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <p>
        Thank you for considering donating to the Living Well Clinic.</p>
    How are you planning to donate?
    <!--<asp:RadioButton ID="radiomonetary" runat="server" Text="Monetary " 
        GroupName="donatetype" oncheckedchanged="monetary_CheckedChanged" AutoPostBack="true" />
    <asp:RadioButton ID="radiosupplies" runat="server" Text="Supplies" AutoPostBack="true" 
        GroupName="donatetype" oncheckedchanged="radiosupplies_CheckedChanged" />-->
    <input type="radio" name="donatetype" onclick="showMonetary();" value="monetary"/>Monetary<input type="radio" onclick="showSupplies();" name="donatetype" value="supplies"/>Supplies
    <br />
    <br />
    <!--<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="Monetary" runat="server">-->
            &nbsp;<br />
    <div id="monetary" style="display: none">
            <asp:Label ID="Label3" runat="server" 
                Text="Please chose an option for financing the clinic" 
                style="text-align: center"></asp:Label>
            <br />
            <br />
            <table class="reference">
                <tr>
                    <td class="style22">
                        <asp:RadioButton ID="radioPaypal" runat="server" GroupName="Payment" 
                            Text="PayPal" />
                    </td>
                </tr>
                <tr>
                    <td class="style20">
                        <asp:RadioButton ID="radioVisa" runat="server" Text="Visa" 
                            GroupName="Payment" />
                    </td>
                </tr>
                <tr>
                    <td class="style22">
                        <asp:RadioButton ID="radioMasterCard" runat="server" Text="Master Card" 
                            GroupName="Payment" />
                    </td>
                </tr>
                <tr>
                    <td class="style22">
                        <asp:RadioButton ID="radioDiscover" runat="server" Text="Discover" 
                            GroupName="Payment" />
                    </td>
                </tr>
            </table>
            <br />
            <table class="hometext">
                <tr>
                    <td class="style17">
                        <asp:Label ID="lbl1" runat="server" Text="Amount:"></asp:Label>
                    </td>
                    <td class="style18">
                        <asp:TextBox ID="amounttxt" runat="server" Height="22px" Width="65px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style17">
                        <asp:Label ID="Label1" runat="server" Text="Card Number:"></asp:Label>
                    </td>
                    <td class="style18">
                        <asp:TextBox ID="cardnumbertxt" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style15">
                        <asp:Label ID="Label2" runat="server" Text="Security Number:"></asp:Label>
                    </td>
                    <td class="style16">
                        <asp:TextBox ID="securitynumbertxt" runat="server" Width="55px"></asp:TextBox>
                    </td>
                </tr>
            </table>
        <!--</asp:View>--></div>
        <!--<asp:View ID="Supplies" runat="server">-->
        <div id="supplies">
        <br />Test
            <asp:Label ID="lbl3" runat="server" 
                
                Text="Please enter what you can donate (please note that you will recieve email for more information):"></asp:Label>
            <br />
            <asp:TextBox ID="suppliestxt" runat="server" Height="149px" 
                style="margin-top: 0px" TextMode="MultiLine" Width="541px"></asp:TextBox>
        <!--</asp:View>--></div>
    <!--</asp:MultiView>-->
    <br />
    <asp:Button ID="submitbutton" runat="server" Text="Submit" />
    <asp:Button ID="cancelbutton" runat="server" Text="Cancel" 
        onclick="cancelbutton_Click" />
</asp:Content>
